package org.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

//定义feign服务绑定接口,通过FeignClient注解绑定对外提供服务的服务名称
@Component
@FeignClient(name = "SPRINGCLOUD-PROVIDER-USER")
public interface RouteFeignService {

    public void a(HttpServletResponse response);

    public void b(HttpServletResponse response);
}
